home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: HELP: Illegal Pointer Arithmetic
- Date: 24 Feb 1996 18:22:19 GMT
- Organization: Los Alamos National Laboratory
- Distribution: world
- Message-ID: <TANMOY.96Feb24112219@qcd.lanl.gov>
- References: <4gj0ug$730@news.one.net>
- <Pine.A32.3.91.960223204633.162921A-100000@red.weeg.uiowa.edu>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: The Amorphous Mass's message of Fri, 23 Feb 1996 20:51:57 -0600
-
- In article <Pine.A32.3.91.960223204633.162921A-100000@red.weeg.uiowa.edu>
- The Amorphous Mass <robinson@blue.weeg.uiowa.edu> writes:
- <snip>
- TAM: > buffer [strlen (buffer) - 1] = "\0";
- TAM:
- TAM: Here's your problem. You're comparing a char (buffer[x]) to a pointer
- ^^^^^^^^^
- ???
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-